<template>
  <el-config-provider :locale="elLocale">
    <router-view/>
  </el-config-provider>
</template>

<script>
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'

export default {
  data() {
    return {
      elLocale: zhCn,
    }
  },
  components: {
    ElConfigProvider,
  }
}
</script>

<style lang="less">
  * {
    margin: 0;
    padding: 0;
    position: relative;
  }
  li {
    list-style: none;
  }
  a {
    text-decoration: none;
    color: rgb(235, 167, 65);
    &:visited {
      color: rgb(235, 167, 65);
    }
    &:link {
      color: rgb(235, 167, 65);
    }
    &:hover {
      color: rgb(233, 187, 119);
      cursor: pointer;
    }
    &:active {
      color: rgb(165, 119, 50);
    }
    
  }
  #app {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    color: #333;
    background-color: #5e616d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  // 修改浏览器自动填充背景色
  input:-webkit-autofill {
    -webkit-text-fill-color: #a8abb2;
    -webkit-box-shadow: 0 0 0 1000px #3b4148 inset !important; 
    -webkit-transition-delay: 99999s; 
    -webkit-transition: color  99999s ease-out, background-color  99999s ease-out;
  }
  .el-drawer__header {
    color: #333 !important;
  }
</style>
